﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;

namespace VisualisationModule.Model
{
    public class VisualisedTrajectory : INotifyPropertyChanged
    {

        public VisualisedTrajectory(Geometry pathData)
        {
            PathData = pathData;
        }


        private Geometry _pathData; 
        //string _id; might include things like this later

        public Geometry PathData
        {
            get { return _pathData; }
            set
            {
                _pathData = value;
                OnPropertyChanged("PathData");
            }
        } 

        public event PropertyChangedEventHandler PropertyChanged;
        protected virtual void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }

    }
}
